package com.daervin.cpe;

import com.daervin.cpe.constants.Language;
import com.daervin.cpe.utils.JsonUtil;
import com.daervin.cpe.utils.TranslateUtil;

/**
 * @author daervin
 * @date 2019/11/21
 */
public class Test {
    public static void main(String[] args) throws Exception {
        System.out.println(JsonUtil.toString(TranslateUtil.execute(Language.ZH_CN, Language.EN, "拉")));
        System.out.println(JsonUtil.toString(TranslateUtil.execute(Language.EN, Language.ZH_CN, "i love you")));
    }
}
